"""
13.敲七游戏.从1开始数数.遇到7或者7的倍数要在桌上敲⼀下.
编程来完成敲七.给出⼀个任意的数字n. 从1开始数. 数到n结束.
把每个数字都放在列表中, 在数的过程中出现7或者7的倍数(不包含类似于17,27，这种数).
则向列表中添加⼀个'咣'

例如, 输⼊10 # lst = [1, 2, 3, 4, 5, 6, '咣', 8, 9, 10]
"""
# num = input(">>>")
# li = []
# if num.isdecimal():
#     num = int(num)
#     for i in range(1,num+1):
#         if i % 7 == 0:
#             li.append("咣")
#         else:
#             li.append(i)
# print(li)


"""
12.念数字给出一个字典. 在字典中标识出每个数字的发音. 
包括相关符号. 然后由用户输入一个数字. 让程序读出相对应的发音
(单纯的打印即可,不考虑个十百)
例如: 75 输出: qi_wu
"""
dic = {
'0':'ling',
'1':'yi',
'2':'er',
'3':'san',
'4':'si',
'5':'wu',
'6':'liu',
'7':'qi',
'8':'ba',
'9':'jiu',
'.':'dian',
}

# num = input(">>>") # 1234
# s = ""
# for i in num:
#     s = s + dic[i] + "_"
# print(s[:-1])

# dic1 = {"k1":5,"k2":10} # 010101
# # dic2 = dic1.copy()      # 010111
# # dic2["k1"] = 1
# # print(dic1["k1"] + dic2["k1"])

# info = [1,2,3]
# userinfo = [info,info,info,info,info]
# info[0] = '不仅多，还特么难呢'
# print(info,userinfo)


# v1 = {'k1':'v1','k2':[1,2,3]}   # v1 - 010101
# v2 = v1  #赋值                  # v2 - 010101
# v1['k1'] = 'wupeiqi'
# # {"k1":"wupeiqi","k2":[1,2,3]}
# print(v2["k1"] + v1["k1"])


# v1 = {'k1':'v1','k2':[1,2,3]}
# v2 = {'k1':'v1','k2':[1,2,3]}
#
# result1 = v1 == v2 # True
# result2 = v1 is v2 # False
#
# print(result1)
# print(result2)

"""

循环让用户输入,如果用户输入的内容在v1中存在,就添加到v2中,
如果v1中不存在就添加的v1中,用户输入Q退出程序
"""
# v1 = {"alex","wusir","taibai",}
# # v2 = []
# #
# # while True:
# #     my_input = input(">>>")
# #     if my_input.upper() == "Q":
# #         print(v1)
# #         print(v2)
# #         break
# #     elif my_input in v1:
# #         v2.append(my_input)
# #     else:
# #         v1.add(my_input)

# info = [1,2,3]
# userinfo = [info,info,info,info,info]
# info[0] = '不仅多，还特么难呢'
# info = 2
# print(userinfo)

